/**
* 收银员订单列表
*/

@order-bg-color: #f2f2f2;

.orders-body {
  width: 100%;
  height: 100%;
  background-color: @order-bg-color;
  padding: .8rem;
}

.table-order-list {
  @left-width: 20%;

  .title {
    padding: .5rem 0;

    .text {
      border-left: 3px solid @color-theme-red;
      color: @color-theme-black;
      font-weight: bold;
      padding-left: .5rem;
      line-height: 1;
    }
    hr {
      margin-top: .5rem;
      border: none;
      border-bottom: 1px solid @color-theme-light-gray;

    }
  }

}

.order-g-item {
  cursor: pointer;
  background: @color-theme-white;
  padding: .5rem;
  margin-bottom: .5rem;
  &:extend(.clearfix all);

  .order-des {
    width: 100%;
    &:extend(.clearfix all);
  }

  .order-op {
  }

  .line {
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .table-name {
    width: 20%;
    float: left;
    text-align: center;
    line-height: 4.5rem;
    color: @color-theme-font-dark;
    font-weight: bold;
  }

  .message {
    width: 40%;
    float: left;
    border-left: 1px solid @color-theme-gray;
    padding-left: 1rem;
    color: @color-theme-font-gray;
  }

  .order-op {
    width: 40%;
    float: left;
  }

  .price {
    color: @color-theme-red;
  }

  .price, .compound {
    text-align: right;
  }
}

.btns {
  .btn {
    cursor: pointer;
    padding: 0 2rem;
    border: 1px solid transparent;
    line-height: 1.5;

    &.white {
      color: @color-theme-black;
      background: @color-font-white;
      border: 1px solid @color-theme-light-gray;
    }

    &.disabled {
      color: #fff;
      background-color: #d0d0d0;
    }
  }
  text-align: right;
}

#page-orderDetail {
  background-color: rgba(0, 0, 0, .3);

}

.order-detail {
  min-height: 100%;
  background: #fff;
  margin:3rem 1rem 0;

  .close{
    position: absolute;
    top: -2rem;
    right: 1rem;
  }

}

#order-detail-summary{
  border-bottom:1px solid @color-theme-red;
  padding: 1rem 2rem;
}

.detail-list {

  @cart-food-item-line-height: 3rem;
  .food-item {
    position: relative;
    width: 100%;
    padding: 0 10%;
    height: @cart-food-item-line-height;
    &.removed {
      .name, .unitPrice, .isDone {
        text-decoration: line-through;
        color: @color-theme-black;
      }
    }

    &:last-child {
      border-bottom: none;
    }
    &:extend(.clearfix all);
    .menu-name, .line, .menu-operation {
      display: inline-block;
      width: 33.3%;
      float: left;
      overflow: hidden;
      -ms-text-overflow: ellipsis;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .line {
      position: absolute;
      right: 0;
    }

    .unitPrice {
      width: 33.3%;
      float: left;
      display: inline-block;
      padding-right: .2rem;
      text-align: center;
      color: @color-theme-red;
    }
    .isDone, .preview-count {
      width: 33.3%;
      float: left;
      display: inline-block;
      text-align: right;
      color: @color-theme-red;
      
      i{
        cursor: pointer;
      }
      
      i:before {
        font-size: 1.3rem;
        line-height: @cart-food-item-line-height;
      }
    }

    .name, .unitPrice, .preview-count, .isDone {
      font-size: 1rem;
      height: @cart-food-item-line-height;
      line-height: @cart-food-item-line-height;
    }
    .count {
      display: inline-block;
      text-align: right;
      font-size: .8rem;
      padding-left: .2rem;
    }
  }

}
.detail-price-section{
  border-top:1px solid @color-theme-gray;
  margin:0 10%;
}
.detail-price-line{
  position: relative;
  height: 3rem;
  .left,.right{
    position: absolute;
    line-height:3rem;
  }
  .left{
    left:0;
  }

  .right{
    right:0;
    color: @color-theme-red;
  }
}





